import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '提交时间',
    align:"center",
    dataIndex: 'createTime'
  },
  {
    title: '手机号',
    align:"center",
    dataIndex: 'phone'
  },
  {
    title: '问卷',
    align:"center",
    dataIndex: 'responseId_dictText'
  },
  {
    title: '回复内容',
    align:"center",
    dataIndex: 'replyText_dictText'
  },
];

//子表列表数据
export const questionnaireAnswerColumns: BasicColumn[] = [
  {
    title: '问题',
    align:"center",
    dataIndex: 'questionId_dictText'
  },
  {
    title: '答案内容',
    align:"center",
    dataIndex: 'answer'
  },
];

// 高级查询数据
export const superQuerySchema = {
  replyText: {title: '回复内容',order: 1,view: 'textarea', type: 'string',},
};
